﻿using System.Collections.Generic;

namespace User.Api.Dto.Paper
{
    public class GetInvestigatePaperResponse:BaseResponse
    {
        /// <summary>
        /// 问卷Id
        /// </summary>
        public int PaperId { get; set; }
       /// <summary>
       /// 答案列表
       /// </summary>
        public Dictionary<string, UserAnswer> Questions { get; set; }

        public  class UserAnswer
        {
            /// <summary>
            /// 自增Id
            /// </summary>
            public int Id { get; set; }
            /// <summary>
            /// 问卷Id
            /// </summary>
            public int PaperId { get; set; }
            /// <summary>
            /// 问题
            /// </summary>
            public string Question { get; set; }
            /// <summary>
            /// 答案
            /// </summary>
            public string Answer { get; set; }
        }
    }
}